package cn.edu.scau.sec.rw.model.disk_file.file;

import java.util.ArrayList;

/**
 * 可执行文件，组合模式的叶子
 */
public class ExeFile extends VirtualFile{


    private ArrayList<String> statements;//指令

    private int x;//操作变量



    public ExeFile(String filename, ArrayList<String> statements, int bytes) {
        super(filename, bytes);
        this.statements = statements;
    }

    public ArrayList<String> getStatements() {
        return statements;
    }

    public void setStatements(ArrayList<String> statements) {
        this.statements = statements;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }
}
